<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浏览器事件冒泡</title>
    <script src="js24_event_bubble.js" async></script>
    <style>
        div{
            border: 1px solid blueviolet;
            text-align: center;
        }
        #div1{
            background-color: blue;
            width:300px;
            height: 300px;
        }
        #div2{
            background-color: green;
            width:200px;
            height: 200px;
        }
        #div3{
            background-color: red;
            width:100px;
            height: 100px;
        }
    </style>
</head>
<body>
    <h1>浏览器事件冒泡</h1>
    <div id="div1">div1
        <div id="div2">div2
            <div id="div3">div3</div>
        </div>
    </div>
    
</body>
</html>